<?php

/**
 * Subclass for representing a row from the 'formato' table.
 *
 * 
 *
 * @package lib.model
 */ 
class Formato extends BaseFormato
{
	public function __toString()
	{
		return $this->getNombre();
	}
	
	public function getTiponombre()
	{
		if($this->getTipo() === true){
			return 'Carta';
		}else{
			return 'Escrito';
		}
	}
}
